﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000515 RID: 1301
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FantasticStoryActivityBattleEndScNotify : IMessage<FantasticStoryActivityBattleEndScNotify>, IMessage, IEquatable<FantasticStoryActivityBattleEndScNotify>, IDeepCloneable<FantasticStoryActivityBattleEndScNotify>, IBufferMessage
	{
		// Token: 0x170010D8 RID: 4312
		// (get) Token: 0x06003AD9 RID: 15065 RVA: 0x000A2117 File Offset: 0x000A0317
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FantasticStoryActivityBattleEndScNotify> Parser
		{
			get
			{
				return FantasticStoryActivityBattleEndScNotify._parser;
			}
		}

		// Token: 0x170010D9 RID: 4313
		// (get) Token: 0x06003ADA RID: 15066 RVA: 0x000A211E File Offset: 0x000A031E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FantasticStoryActivityBattleEndScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170010DA RID: 4314
		// (get) Token: 0x06003ADB RID: 15067 RVA: 0x000A2130 File Offset: 0x000A0330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FantasticStoryActivityBattleEndScNotify.Descriptor;
			}
		}

		// Token: 0x06003ADC RID: 15068 RVA: 0x000A2137 File Offset: 0x000A0337
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FantasticStoryActivityBattleEndScNotify()
		{
		}

		// Token: 0x06003ADD RID: 15069 RVA: 0x000A213F File Offset: 0x000A033F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FantasticStoryActivityBattleEndScNotify(FantasticStoryActivityBattleEndScNotify other) : this()
		{
			this.jBJGMCNBMKK_ = other.jBJGMCNBMKK_;
			this.aIHBDNKBNMH_ = other.aIHBDNKBNMH_;
			this.battleId_ = other.battleId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003ADE RID: 15070 RVA: 0x000A217C File Offset: 0x000A037C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FantasticStoryActivityBattleEndScNotify Clone()
		{
			return new FantasticStoryActivityBattleEndScNotify(this);
		}

		// Token: 0x170010DB RID: 4315
		// (get) Token: 0x06003ADF RID: 15071 RVA: 0x000A2184 File Offset: 0x000A0384
		// (set) Token: 0x06003AE0 RID: 15072 RVA: 0x000A218C File Offset: 0x000A038C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JBJGMCNBMKK
		{
			get
			{
				return this.jBJGMCNBMKK_;
			}
			set
			{
				this.jBJGMCNBMKK_ = value;
			}
		}

		// Token: 0x170010DC RID: 4316
		// (get) Token: 0x06003AE1 RID: 15073 RVA: 0x000A2195 File Offset: 0x000A0395
		// (set) Token: 0x06003AE2 RID: 15074 RVA: 0x000A219D File Offset: 0x000A039D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AIHBDNKBNMH
		{
			get
			{
				return this.aIHBDNKBNMH_;
			}
			set
			{
				this.aIHBDNKBNMH_ = value;
			}
		}

		// Token: 0x170010DD RID: 4317
		// (get) Token: 0x06003AE3 RID: 15075 RVA: 0x000A21A6 File Offset: 0x000A03A6
		// (set) Token: 0x06003AE4 RID: 15076 RVA: 0x000A21AE File Offset: 0x000A03AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BattleId
		{
			get
			{
				return this.battleId_;
			}
			set
			{
				this.battleId_ = value;
			}
		}

		// Token: 0x06003AE5 RID: 15077 RVA: 0x000A21B7 File Offset: 0x000A03B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FantasticStoryActivityBattleEndScNotify);
		}

		// Token: 0x06003AE6 RID: 15078 RVA: 0x000A21C8 File Offset: 0x000A03C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FantasticStoryActivityBattleEndScNotify other)
		{
			return other != null && (other == this || (this.JBJGMCNBMKK == other.JBJGMCNBMKK && this.AIHBDNKBNMH == other.AIHBDNKBNMH && this.BattleId == other.BattleId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003AE7 RID: 15079 RVA: 0x000A2224 File Offset: 0x000A0424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.JBJGMCNBMKK != 0U)
			{
				num ^= this.JBJGMCNBMKK.GetHashCode();
			}
			if (this.AIHBDNKBNMH != 0U)
			{
				num ^= this.AIHBDNKBNMH.GetHashCode();
			}
			if (this.BattleId != 0U)
			{
				num ^= this.BattleId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003AE8 RID: 15080 RVA: 0x000A2295 File Offset: 0x000A0495
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003AE9 RID: 15081 RVA: 0x000A229D File Offset: 0x000A049D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003AEA RID: 15082 RVA: 0x000A22A8 File Offset: 0x000A04A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.JBJGMCNBMKK != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.JBJGMCNBMKK);
			}
			if (this.BattleId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.BattleId);
			}
			if (this.AIHBDNKBNMH != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.AIHBDNKBNMH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003AEB RID: 15083 RVA: 0x000A2320 File Offset: 0x000A0520
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.JBJGMCNBMKK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JBJGMCNBMKK);
			}
			if (this.AIHBDNKBNMH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AIHBDNKBNMH);
			}
			if (this.BattleId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BattleId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003AEC RID: 15084 RVA: 0x000A2390 File Offset: 0x000A0590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FantasticStoryActivityBattleEndScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.JBJGMCNBMKK != 0U)
			{
				this.JBJGMCNBMKK = other.JBJGMCNBMKK;
			}
			if (other.AIHBDNKBNMH != 0U)
			{
				this.AIHBDNKBNMH = other.AIHBDNKBNMH;
			}
			if (other.BattleId != 0U)
			{
				this.BattleId = other.BattleId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003AED RID: 15085 RVA: 0x000A23F4 File Offset: 0x000A05F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003AEE RID: 15086 RVA: 0x000A2400 File Offset: 0x000A0600
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 88U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.AIHBDNKBNMH = input.ReadUInt32();
						}
					}
					else
					{
						this.BattleId = input.ReadUInt32();
					}
				}
				else
				{
					this.JBJGMCNBMKK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400172D RID: 5933
		private static readonly MessageParser<FantasticStoryActivityBattleEndScNotify> _parser = new MessageParser<FantasticStoryActivityBattleEndScNotify>(() => new FantasticStoryActivityBattleEndScNotify());

		// Token: 0x0400172E RID: 5934
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400172F RID: 5935
		public const int JBJGMCNBMKKFieldNumber = 7;

		// Token: 0x04001730 RID: 5936
		private uint jBJGMCNBMKK_;

		// Token: 0x04001731 RID: 5937
		public const int AIHBDNKBNMHFieldNumber = 15;

		// Token: 0x04001732 RID: 5938
		private uint aIHBDNKBNMH_;

		// Token: 0x04001733 RID: 5939
		public const int BattleIdFieldNumber = 11;

		// Token: 0x04001734 RID: 5940
		private uint battleId_;
	}
}
